package magicloan.auctionpocket.bean;

/**
 * Created by hechao on 2018/2/5.
 */

public class UserData {
    private UserData(){};
    private static UserData instance ;

    public static UserData getInstance(){
        if ( instance == null)
            instance = new UserData() ;
        return instance ;
    }

    private String token = "666" , mobile = "13121687484" , nickName ;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void clear() {
        token = null ;
        mobile = null ;
        nickName = null ;
    }

}
